// utils/response.js
const sendResponse = (res, code, msg, data = null) => {
    res.json({
      code,
      msg,
      data
    });
  };
  
  module.exports = { sendResponse };